const fs = require('fs')
module.exports = (err) => {
    let log = fs.readFileSync('./logs/ordermeal.log','utf-8')
    log = log.replace('ok',err)
    fs.writeFileSync('./logs/ordermeal.log',log)
}